package com.kuangjia.student_ems.dto.request;

import com.kuangjia.student_ems.entity.User;
import jakarta.validation.constraints.Email;
import lombok.Data;
import java.time.LocalDate;

@Data
public class UserUpdateRequest {
    
    private String name;
    
    @Email(message = "邮箱格式不正确")
    private String email;
    
    private String phone;
    
    private User.UserRole role;
    
    private Long departmentId;
    
    private Long positionId;
    
    private String password;
    
    private User.EmployeeStatus status;
    
    private LocalDate leaveDate;
    
    private String leaveReason;
} 